object Form1: TForm1
  Left = 818
  Top = 263
  Width = 679
  Height = 613
  Caption = #33258#21160#19978#20256#31216#37325#20449#24687'--'#35831#21247#20851#38381
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  PopupMenu = pm1
  OnClose = FormClose
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 13
  object cxPageControl1: TcxPageControl
    Left = 0
    Top = 0
    Width = 663
    Height = 574
    ActivePage = cxTabSheet1
    Align = alClient
    TabOrder = 0
    OnChange = cxPageControl1Change
    ClientRectBottom = 568
    ClientRectLeft = 3
    ClientRectRight = 657
    ClientRectTop = 26
    object cxTabSheet1: TcxTabSheet
      Caption = #31216#37325#20449#24687#21516#27493
      ImageIndex = 0
      object AsPanel1: TAsPanel
        Left = 0
        Top = 0
        Width = 654
        Height = 137
        Align = alTop
        ParentBackground = False
        TabOrder = 0
        BevelWidth = 0
        ColorTo = clBtnFace
        GradientDirection = gdHorizontal
        object lbl1: TLabel
          Left = 20
          Top = 81
          Width = 114
          Height = 19
          Caption = #24403#21069#20572#36710#22330#65306
          Font.Charset = GB2312_CHARSET
          Font.Color = clWindowText
          Font.Height = -19
          Font.Name = #24188#22278
          Font.Style = []
          ParentFont = False
        end
        object lbl2: TLabel
          Left = 426
          Top = 116
          Width = 125
          Height = 19
          Caption = #33258#21160#21516#27493#20013'...'
          Font.Charset = GB2312_CHARSET
          Font.Color = clRed
          Font.Height = -19
          Font.Name = #24188#22278
          Font.Style = []
          ParentFont = False
          Visible = False
        end
        object lbl3: TLabel
          Left = 604
          Top = 81
          Width = 19
          Height = 19
          Caption = #31186
          Font.Charset = GB2312_CHARSET
          Font.Color = clWindowText
          Font.Height = -19
          Font.Name = #24188#22278
          Font.Style = []
          ParentFont = False
        end
        object lbl4: TLabel
          Left = 540
          Top = 81
          Width = 19
          Height = 19
          Caption = #27599
          Font.Charset = GB2312_CHARSET
          Font.Color = clWindowText
          Font.Height = -19
          Font.Name = #24188#22278
          Font.Style = []
          ParentFont = False
        end
        object lbl5: TLabel
          Left = 20
          Top = 22
          Width = 57
          Height = 19
          Caption = #36134#21495#65306
          Font.Charset = GB2312_CHARSET
          Font.Color = clWindowText
          Font.Height = -19
          Font.Name = #24188#22278
          Font.Style = []
          ParentFont = False
        end
        object lbl6: TLabel
          Left = 220
          Top = 22
          Width = 57
          Height = 19
          Caption = #23494#30721#65306
          Font.Charset = GB2312_CHARSET
          Font.Color = clWindowText
          Font.Height = -19
          Font.Name = #24188#22278
          Font.Style = []
          ParentFont = False
        end
        object lbl12: TLabel
          Left = 514
          Top = 22
          Width = 10
          Height = 19
          Font.Charset = GB2312_CHARSET
          Font.Color = clRed
          Font.Height = -19
          Font.Name = #24188#22278
          Font.Style = []
          ParentFont = False
        end
        object btn1: TcxButton
          Left = 423
          Top = 78
          Width = 92
          Height = 25
          Caption = #24320#21551#33258#21160#21516#27493
          TabOrder = 0
          OnClick = btn1Click
        end
        object btn2: TcxButton
          Left = 319
          Top = 78
          Width = 100
          Height = 25
          Caption = #25163#21160#21516#27493
          TabOrder = 1
          OnClick = btn2Click
        end
        object cxLookupComboBox1: TcxLookupComboBox
          Left = 140
          Top = 81
          Properties.KeyFieldNames = 'code'
          Properties.ListColumns = <
            item
              FieldName = 'name'
            end>
          Properties.ListSource = dsParking
          TabOrder = 2
          Width = 145
        end
        object chk1: TCheckBox
          Left = 522
          Top = 82
          Width = 15
          Height = 17
          TabOrder = 3
          OnClick = chk1Click
        end
        object RzNumericEdit1: TRzNumericEdit
          Left = 566
          Top = 80
          Width = 33
          Height = 21
          TabOrder = 4
          DisplayFormat = ',0;(,0)'
          Value = 20.000000000000000000
        end
        object btn3: TcxButton
          Left = 424
          Top = 19
          Width = 75
          Height = 25
          Caption = #36830#25509#25968#25454#24211
          TabOrder = 5
          OnClick = btn3Click
        end
        object edtPwd: TEdit
          Left = 280
          Top = 21
          Width = 128
          Height = 21
          PasswordChar = '*'
          TabOrder = 6
        end
        object edtLoginName: TEdit
          Left = 72
          Top = 21
          Width = 121
          Height = 21
          TabOrder = 7
        end
        object btn6: TButton
          Left = 528
          Top = 20
          Width = 75
          Height = 25
          Caption = #27979#35797
          TabOrder = 8
          OnClick = btn6Click
        end
      end
      object cxMemo1: TcxMemo
        Left = 0
        Top = 137
        Align = alClient
        TabOrder = 1
        Height = 405
        Width = 654
      end
    end
    object cxTabSheet2: TcxTabSheet
      Caption = #22270#29255#20449#24687#21516#27493
      ImageIndex = 1
      object AsPanel2: TAsPanel
        Left = 0
        Top = 0
        Width = 654
        Height = 89
        Align = alTop
        ParentBackground = False
        TabOrder = 0
        BevelWidth = 0
        ColorTo = clBtnFace
        GradientDirection = gdHorizontal
        object lbl7: TLabel
          Left = 22
          Top = 54
          Width = 124
          Height = 19
          Caption = ' '#24403#21069#20572#36710#22330#65306
          Font.Charset = GB2312_CHARSET
          Font.Color = clWindowText
          Font.Height = -19
          Font.Name = #24188#22278
          Font.Style = []
          ParentFont = False
        end
        object lbl8: TLabel
          Left = 442
          Top = 11
          Width = 125
          Height = 19
          Caption = #33258#21160#21516#27493#20013'...'
          Font.Charset = GB2312_CHARSET
          Font.Color = clRed
          Font.Height = -19
          Font.Name = #24188#22278
          Font.Style = []
          ParentFont = False
          Visible = False
        end
        object lbl9: TLabel
          Left = 612
          Top = 54
          Width = 19
          Height = 19
          Caption = #31186
          Font.Charset = GB2312_CHARSET
          Font.Color = clWindowText
          Font.Height = -19
          Font.Name = #24188#22278
          Font.Style = []
          ParentFont = False
        end
        object lbl10: TLabel
          Left = 548
          Top = 54
          Width = 19
          Height = 19
          Caption = #27599
          Font.Charset = GB2312_CHARSET
          Font.Color = clWindowText
          Font.Height = -19
          Font.Name = #24188#22278
          Font.Style = []
          ParentFont = False
        end
        object lbl11: TLabel
          Left = 22
          Top = 11
          Width = 116
          Height = 19
          Caption = #22270' '#29255' '#36335' '#24452':'
          Font.Charset = GB2312_CHARSET
          Font.Color = clWindowText
          Font.Height = -19
          Font.Name = #24188#22278
          Font.Style = []
          ParentFont = False
        end
        object btn4: TcxButton
          Left = 431
          Top = 51
          Width = 92
          Height = 25
          Caption = #24320#21551#33258#21160#21516#27493
          TabOrder = 0
          OnClick = btn4Click
        end
        object btn5: TcxButton
          Left = 327
          Top = 51
          Width = 100
          Height = 25
          Caption = #25163#21160#21516#27493
          TabOrder = 1
          OnClick = btn5Click
        end
        object cxLookupComboBox2: TcxLookupComboBox
          Left = 148
          Top = 54
          Properties.KeyFieldNames = 'code'
          Properties.ListColumns = <
            item
              FieldName = 'name'
            end>
          Properties.ListSource = dsParking
          TabOrder = 2
          Width = 140
        end
        object chk2: TCheckBox
          Left = 530
          Top = 55
          Width = 15
          Height = 17
          TabOrder = 3
          OnClick = chk2Click
        end
        object RzNumericEdit2: TRzNumericEdit
          Left = 574
          Top = 53
          Width = 33
          Height = 21
          Enabled = False
          TabOrder = 4
          DisplayFormat = ',0;(,0)'
          Value = 20.000000000000000000
        end
        object edtDirPath: TDirectoryEdit
          Left = 148
          Top = 11
          Width = 141
          Height = 21
          NumGlyphs = 1
          TabOrder = 5
          Text = 'D:\WeightPicture'
        end
      end
      object cxMemo2: TcxMemo
        Left = 0
        Top = 89
        Align = alClient
        TabOrder = 1
        Height = 453
        Width = 654
      end
    end
  end
  object dxSkinController1: TdxSkinController
    SkinName = 'Office2007Silver'
    Left = 784
    Top = 120
  end
  object conMain: TADOConnection
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=@qq491608;Persist Security Info=Tru' +
      'e;User ID=sa;Initial Catalog=HPDB;Data Source=192.168.88.159;Use' +
      ' Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Wo' +
      'rkstation ID=XXK08;Use Encryption for Data=False;Tag with column' +
      ' collation when possible=False'
    LoginPrompt = False
    Provider = 'SQLOLEDB.1'
    Left = 24
    Top = 216
  end
  object qryParking: TADOQuery
    Connection = conMain
    Parameters = <>
    SQL.Strings = (
      'SELECT * FROM  dbo.dic_parking_info')
    Left = 80
    Top = 288
    object qryParkingcode: TIntegerField
      FieldName = 'code'
    end
    object qryParkingname: TStringField
      FieldName = 'name'
    end
    object qryParkingparking_address: TStringField
      FieldName = 'parking_address'
      Size = 100
    end
    object qryParkingtel_no: TStringField
      FieldName = 'tel_no'
    end
    object qryParkingenable: TBooleanField
      FieldName = 'enable'
    end
  end
  object dsParking: TDataSource
    DataSet = qryParking
    Left = 160
    Top = 300
  end
  object qryMain: TADOQuery
    Connection = conMain
    Parameters = <
      item
        Name = 'OrganCode'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'AccountUnit'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'WDSId'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'BizId'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'BizType'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'ICId'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'RFId'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'Code'
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'CarNumber'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 30
        Value = Null
      end
      item
        Name = 'MaterialCode'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'MaterialName'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'Specification'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'AppUnit'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 10
        Value = Null
      end
      item
        Name = 'BatchNumber'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'CustomerCode'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'CustomerName'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'CarrierName'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'CarrierCode'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'Driver'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 10
        Value = Null
      end
      item
        Name = 'DriverCode'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 10
        Value = Null
      end
      item
        Name = 'Remark1'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 200
        Value = Null
      end
      item
        Name = 'Remark2'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 200
        Value = Null
      end
      item
        Name = 'Remark3'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 200
        Value = Null
      end
      item
        Name = 'Gross'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'GrossHistory'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 300
        Value = Null
      end
      item
        Name = 'GrossWorker'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 10
        Value = Null
      end
      item
        Name = 'GrossTime'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 30
        Value = Null
      end
      item
        Name = 'GrossTimeHistory'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 300
        Value = Null
      end
      item
        Name = 'GrossRepeatHistory'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 300
        Value = Null
      end
      item
        Name = 'GrossPoundNo'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'Tare'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'TareHistory'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 300
        Value = Null
      end
      item
        Name = 'TareWorker'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 10
        Value = Null
      end
      item
        Name = 'TareTime'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 30
        Value = Null
      end
      item
        Name = 'TareTimeHistory'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 300
        Value = Null
      end
      item
        Name = 'TareRepeatHistory'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 300
        Value = Null
      end
      item
        Name = 'TarePoundNo'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'Net'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'ShipQuantity'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'Bags'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'NetCapital'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'BuckleWeight1'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'BuckleWeight2'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'BalanceWeight'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'Price'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'FMoney'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'PrimaryNetWeight'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'Loss'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'RepeatGrossTare'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end
      item
        Name = 'ReturnSign'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end
      item
        Name = 'ReturnCause'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'ReturnAllower'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 10
        Value = Null
      end
      item
        Name = 'ReturnTime'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 30
        Value = Null
      end
      item
        Name = 'DifferenceNum'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'DifferenceBags'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'EmptySign'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end
      item
        Name = 'BlankOut'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end
      item
        Name = 'BlankOutTime'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 30
        Value = Null
      end
      item
        Name = 'BlankOutMan'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 10
        Value = Null
      end
      item
        Name = 'PrintSign'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end
      item
        Name = 'PrinterTime'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 30
        Value = Null
      end
      item
        Name = 'Printer'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 10
        Value = Null
      end
      item
        Name = 'PrintCount'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end
      item
        Name = 'Operator'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 10
        Value = Null
      end
      item
        Name = 'SaveTime'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 30
        Value = Null
      end
      item
        Name = 'WeightWay'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end
      item
        Name = 'IsGrossOrNetWeight'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end
      item
        Name = 'IsComplete'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end
      item
        Name = 'IsKeepAccount'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end
      item
        Name = 'Modifier'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 10
        Value = Null
      end
      item
        Name = 'ModifyDate'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 30
        Value = Null
      end
      item
        Name = 'ExceptionSign'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end
      item
        Name = 'ExceptionMesage'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 200
        Value = Null
      end
      item
        Name = 'TransferCode'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'FromUnitCode'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'FromUnitName'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'ToUnitCode'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'ToUnitName'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'ThridWeightNo'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'SealNo'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'SMSFlag'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end
      item
        Name = 'BalanceMan'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'BalanceTime'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 30
        Value = Null
      end
      item
        Name = 'BalanceSign'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end
      item
        Name = 'TareWeightWay'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 10
        Value = Null
      end
      item
        Name = 'GrossWeightWay'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 10
        Value = Null
      end
      item
        Name = 'GroupCode'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 60
        Value = Null
      end
      item
        Name = 'C1'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'C2'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'C3'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'C4'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'C5'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'C6'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'C7'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'C8'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'C9'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'C10'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'N1'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'N2'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'N3'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'N4'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'N5'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'N6'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'N7'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'N8'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'N9'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'N10'
        Attributes = [paSigned, paNullable]
        DataType = ftBCD
        NumericScale = 5
        Precision = 19
        Size = 19
        Value = Null
      end
      item
        Name = 'IsUpped'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end
      item
        Name = 'up_load_date'
        Attributes = [paNullable]
        DataType = ftDateTime
        NumericScale = 3
        Precision = 23
        Size = 16
        Value = Null
      end
      item
        Name = 'up_load_pc'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'up_load_station'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 100
        Value = Null
      end
      item
        Name = 'up_load_station_name'
        Attributes = [paNullable]
        DataType = ftString
        NumericScale = 255
        Precision = 255
        Size = 20
        Value = Null
      end>
    SQL.Strings = (
      ''
      'INSERT INTO JL_Weight'
      '( '
      '[OrganCode],'
      '[AccountUnit],'
      '[WDSId],'
      '[BizId],'
      '[BizType],'
      '[ICId],'
      '[RFId],'
      '[Code],'
      '[CarNumber],'
      '[MaterialCode],'
      '[MaterialName],'
      '[Specification],'
      '[AppUnit],'
      '[BatchNumber],'
      '[CustomerCode],'
      '[CustomerName],'
      '[CarrierName],'
      '[CarrierCode],'
      '[Driver],'
      '[DriverCode],'
      '[Remark1],'
      '[Remark2],'
      '[Remark3],'
      '[Gross],'
      '[GrossHistory],'
      '[GrossWorker],'
      '[GrossTime],'
      '[GrossTimeHistory],'
      '[GrossRepeatHistory],'
      '[GrossPoundNo],'
      '[Tare],'
      '[TareHistory],'
      '[TareWorker],'
      '[TareTime],'
      '[TareTimeHistory],'
      '[TareRepeatHistory],'
      '[TarePoundNo],'
      '[Net],'
      '[ShipQuantity],'
      '[Bags],'
      '[NetCapital],'
      '[BuckleWeight1],'
      '[BuckleWeight2],'
      '[BalanceWeight],'
      '[Price],'
      '[FMoney],'
      '[PrimaryNetWeight],'
      '[Loss],'
      '[RepeatGrossTare],'
      '[ReturnSign],'
      '[ReturnCause],'
      '[ReturnAllower],'
      '[ReturnTime],'
      '[DifferenceNum],'
      '[DifferenceBags],'
      '[EmptySign],'
      '[BlankOut],'
      '[BlankOutTime],'
      '[BlankOutMan],'
      '[PrintSign],'
      '[PrinterTime],'
      '[Printer],'
      '[PrintCount],'
      '[Operator],'
      '[SaveTime],'
      '[WeightWay],'
      '[IsGrossOrNetWeight],'
      '[IsComplete],'
      '[IsKeepAccount],'
      '[Modifier],'
      '[ModifyDate],'
      '[ExceptionSign],'
      '[ExceptionMesage],'
      '[TransferCode],'
      '[FromUnitCode],'
      '[FromUnitName],'
      '[ToUnitCode],'
      '[ToUnitName],'
      '[ThridWeightNo],'
      '[SealNo],'
      '[SMSFlag],'
      '[BalanceMan],'
      '[BalanceTime],'
      '[BalanceSign],'
      '[TareWeightWay],'
      '[GrossWeightWay],'
      '[GroupCode],'
      '[C1],'
      '[C2],'
      '[C3],'
      '[C4],'
      '[C5],'
      '[C6],'
      '[C7],'
      '[C8],'
      '[C9],'
      '[C10],'
      '[N1],'
      '[N2],'
      '[N3],'
      '[N4],'
      '[N5],'
      '[N6],'
      '[N7],'
      '[N8],'
      '[N9],'
      '[N10],'
      '[IsUpped],'
      '[up_load_date],'
      '[up_load_pc],'
      '[up_load_station],'
      '[up_load_station_name]'
      ')'
      'VALUES'
      '('
      ':OrganCode,'
      ':AccountUnit,'
      ':WDSId,'
      ':BizId,'
      ':BizType,'
      ':ICId,'
      ':RFId,'
      ':Code,'
      ':CarNumber,'
      ':MaterialCode,'
      ':MaterialName,'
      ':Specification,'
      ':AppUnit,'
      ':BatchNumber,'
      ':CustomerCode,'
      ':CustomerName,'
      ':CarrierName,'
      ':CarrierCode,'
      ':Driver,'
      ':DriverCode,'
      ':Remark1,'
      ':Remark2,'
      ':Remark3,'
      ':Gross,'
      ':GrossHistory,'
      ':GrossWorker,'
      ':GrossTime,'
      ':GrossTimeHistory,'
      ':GrossRepeatHistory,'
      ':GrossPoundNo,'
      ':Tare,'
      ':TareHistory,'
      ':TareWorker,'
      ':TareTime,'
      ':TareTimeHistory,'
      ':TareRepeatHistory,'
      ':TarePoundNo,'
      ':Net,'
      ':ShipQuantity,'
      ':Bags,'
      ':NetCapital,'
      ':BuckleWeight1,'
      ':BuckleWeight2,'
      ':BalanceWeight,'
      ':Price,'
      ':FMoney,'
      ':PrimaryNetWeight,'
      ':Loss,'
      ':RepeatGrossTare,'
      ':ReturnSign,'
      ':ReturnCause,'
      ':ReturnAllower,'
      ':ReturnTime,'
      ':DifferenceNum,'
      ':DifferenceBags,'
      ':EmptySign,'
      ':BlankOut,'
      ':BlankOutTime,'
      ':BlankOutMan,'
      ':PrintSign,'
      ':PrinterTime,'
      ':Printer,'
      ':PrintCount,'
      ':Operator,'
      ':SaveTime,'
      ':WeightWay,'
      ':IsGrossOrNetWeight,'
      ':IsComplete,'
      ':IsKeepAccount,'
      ':Modifier,'
      ':ModifyDate,'
      ':ExceptionSign,'
      ':ExceptionMesage,'
      ':TransferCode,'
      ':FromUnitCode,'
      ':FromUnitName,'
      ':ToUnitCode,'
      ':ToUnitName,'
      ':ThridWeightNo,'
      ':SealNo,'
      ':SMSFlag,'
      ':BalanceMan,'
      ':BalanceTime,'
      ':BalanceSign,'
      ':TareWeightWay,'
      ':GrossWeightWay,'
      ':GroupCode,'
      ':C1,'
      ':C2,'
      ':C3,'
      ':C4,'
      ':C5,'
      ':C6,'
      ':C7,'
      ':C8,'
      ':C9,'
      ':C10,'
      ':N1,'
      ':N2,'
      ':N3,'
      ':N4,'
      ':N5,'
      ':N6,'
      ':N7,'
      ':N8,'
      ':N9,'
      ':N10,'
      ':IsUpped,'
      ':up_load_date,'
      ':up_load_pc,'
      ':up_load_station,'
      ':up_load_station_name'
      ')')
    Left = 80
    Top = 352
  end
  object conLocal: TADOConnection
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=64219088;Persist Security Info=True' +
      ';User ID=sa;Initial Catalog=weight;Data Source=.'
    LoginPrompt = False
    Provider = 'SQLOLEDB.1'
    Left = 32
    Top = 144
  end
  object dsMain: TDataSource
    DataSet = qryMain
    Left = 160
    Top = 364
  end
  object qryUploadRecord: TADOQuery
    Connection = conMain
    Parameters = <
      item
        Name = 'parking_no'
        Attributes = [paNullable]
        DataType = ftString
        NumericScale = 255
        Precision = 255
        Size = 5
        Value = '%'
      end>
    SQL.Strings = (
      'SELECT TOP 1 * FROM dbo.cz_Upload_record'
      'where parking_no = :parking_no'
      'ORDER BY last_date DESC')
    Left = 80
    Top = 224
  end
  object dsUploadRecord: TDataSource
    DataSet = qryUploadRecord
    Left = 160
    Top = 224
  end
  object qryLocalDB: TADOQuery
    Connection = conLocal
    Parameters = <
      item
        Name = 'last_date'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 30
        Value = '%'
      end
      item
        Name = 'max_date'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 30
        Value = '%'
      end>
    SQL.Strings = (
      'SELECT '
      '[Id] ,'
      '[OrganCode],'
      '[AccountUnit],'
      '[WDSId],'
      '[BizId],'
      '[BizType],'
      '[ICId],'
      '[RFId],'
      '[Code],'
      '[CarNumber],'
      '[MaterialCode],'
      '[MaterialName],'
      '[Specification],'
      '[AppUnit],'
      '[BatchNumber],'
      '[CustomerCode],'
      '[CustomerName],'
      '[CarrierName],'
      '[CarrierCode],'
      '[Driver],'
      '[DriverCode],'
      '[Remark1],'
      '[Remark2],'
      '[Remark3],'
      '[Gross],'
      '[GrossHistory],'
      '[GrossWorker],'
      '[GrossTime],'
      '[GrossTimeHistory],'
      '[GrossRepeatHistory],'
      '[GrossPoundNo],'
      '[Tare],'
      '[TareHistory],'
      '[TareWorker],'
      '[TareTime],'
      '[TareTimeHistory],'
      '[TareRepeatHistory],'
      '[TarePoundNo],'
      '[Net],'
      '[ShipQuantity],'
      '[Bags],'
      '[NetCapital],'
      '[BuckleWeight1],'
      '[BuckleWeight2],'
      '[BalanceWeight],'
      '[Price],'
      '[FMoney],'
      '[PrimaryNetWeight],'
      '[Loss],'
      '[RepeatGrossTare],'
      '[ReturnSign],'
      '[ReturnCause],'
      '[ReturnAllower],'
      '[ReturnTime],'
      '[DifferenceNum],'
      '[DifferenceBags],'
      '[EmptySign],'
      '[BlankOut],'
      '[BlankOutTime],'
      '[BlankOutMan],'
      '[PrintSign],'
      '[PrinterTime],'
      '[Printer],'
      '[PrintCount],'
      '[Operator],'
      '[SaveTime],'
      '[WeightWay],'
      '[IsGrossOrNetWeight],'
      '[IsComplete],'
      '[IsKeepAccount],'
      '[Modifier],'
      '[ModifyDate],'
      '[ExceptionSign],'
      '[ExceptionMesage],'
      '[TransferCode],'
      '[FromUnitCode],'
      '[FromUnitName],'
      '[ToUnitCode],'
      '[ToUnitName],'
      '[ThridWeightNo],'
      '[SealNo],'
      '[SMSFlag],'
      '[BalanceMan],'
      '[BalanceTime],'
      '[BalanceSign],'
      '[TareWeightWay],'
      '[GrossWeightWay],'
      '[GroupCode],'
      '[C1],'
      '[C2],'
      '[C3],'
      '[C4],'
      '[C5],'
      '[C6],'
      '[C7],'
      '[C8],'
      '[C9],'
      '[C10],'
      '[N1],'
      '[N2],'
      '[N3],'
      '[N4],'
      '[N5],'
      '[N6],'
      '[N7],'
      '[N8],'
      '[N9],'
      '[N10],'
      '[IsUpped]'
      'FROM JL_Weight'
      'WHERE SaveTime>:last_date'
      'and  SaveTime<=:max_date')
    Left = 80
    Top = 152
  end
  object qryLocalMax: TADOQuery
    Connection = conLocal
    Parameters = <
      item
        Name = 'last_date'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 30
        Value = Null
      end>
    SQL.Strings = (
      'SELECT '
      'MAX(SaveTime)  MaxSaveTime'
      'FROM JL_Weight'
      'WHERE SaveTime>:last_date')
    Left = 80
    Top = 72
    object qryLocalMaxMaxSaveTime: TWideStringField
      FieldName = 'MaxSaveTime'
      ReadOnly = True
      Size = 30
    end
  end
  object qryTemp: TADOQuery
    Connection = conMain
    Parameters = <>
    Left = 80
    Top = 416
  end
  object qryLocalCount: TADOQuery
    Connection = conLocal
    Parameters = <
      item
        Name = 'last_date'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 30
        Value = '%'
      end>
    SQL.Strings = (
      'SELECT '
      'count(*) cnt'
      'FROM JL_Weight'
      'WHERE SaveTime>:last_date')
    Left = 160
    Top = 152
  end
  object tmr1: TTimer
    Enabled = False
    Interval = 5000
    OnTimer = tmr1Timer
    Left = 424
    Top = 416
  end
  object tmr2: TTimer
    OnTimer = tmr2Timer
    Left = 480
    Top = 416
  end
  object dlgOpen1: TOpenDialog
    Left = 355
    Top = 34
  end
  object qryUpdateFile: TADOQuery
    Connection = conMain
    Parameters = <>
    Left = 403
    Top = 218
  end
  object tmr3: TTimer
    Enabled = False
    OnTimer = tmr3Timer
    Left = 427
    Top = 498
  end
  object tmr4: TTimer
    Left = 491
    Top = 498
  end
  object pm1: TPopupMenu
    Left = 427
    Top = 322
    object N1: TMenuItem
      Caption = #26174#31034
      OnClick = N1Click
    end
    object N2: TMenuItem
      Caption = #36864#20986
    end
  end
  object RzTrayIcon1: TRzTrayIcon
    Hint = #25968#25454#19978#20256#20013'..'#35831#21247#20851#38381
    PopupMenu = pm1
    Left = 347
    Top = 170
  end
end
